<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 18.5.16
 * Time: 17:31
 */

namespace App\Http\Controllers\Admin;

use App\Http\Controllers\Controller;

// 获取用户 Auth::guard('admin')->user();
class AdminController extends Controller
{
    public function __construct()
    {
        $this->middleware("auth.admin");
    }

    public function getIndex()
    {
        return view("home");
    }
}